package com.bm.server.controller;

import com.bm.common.vo.R;
import com.bm.server.service.intf.GiftDescService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/server/giftDesc/")
public class GIftDescController {
    @Resource
    private GiftDescService service;
    @GetMapping("/desc.do")
    public R desc(){
        return service.giftDesc();
    }
    @GetMapping("/random.do")
    public R random(){
        return service.giftRandom();
    }
    
}
